﻿@{
    ViewBag.Title = "UserManager";
    Layout = "~/Views/Shared/_AdminLayOut.cshtml";
}
@model  List<UcAsp.Models.Course>

<h2>用户管理</h2>
 
<div class="content-box">
     <div class="content-box-header">
        <h3>活动管理</h3>
        <div class="clear"></div>
      </div>
    <table>
            <thead>
              <tr>
                <th>姓名</th>
                <th>活动或课程名称</th>
                <th>联系地址</th>
                <th>家庭电话</th>
                  <th>手机</th>
                <th>QQ</th>
                 <th>报名时间</th>
                <th>手机</th>
              </tr>
            </thead>
            <tfoot>
              <tr>
                <td colspan="6">
                  <div class="pagination"> 
                      <a href="/RenCaiManager/BaoMing?page=1" title="First Page">&laquo; 第一页</a>
                     @for (int i = 1; i < int.Parse(ViewData["PageCount"].ToString())+1;i++ )
                     {
                       <a href="/RenCaiManager/BaoMing?page=@i" class="number @if (ViewData["PageIndex"].ToString()==@i.ToString())
                                                 {<text>current</text>}" title="@i">@i</a>
                     }
                      <a href="/RenCaiManager/BaoMing?page=@ViewData["PageCount"]" title="Last Page">最后一页 &raquo;</a> </div>
                  <!-- End .pagination -->
                  <div class="clear"></div>
                </td>
              </tr>
            </tfoot>
            <tbody>
                @foreach (UcAsp.Models.Course art in Model)
                {
                  <tr>
                    <td>@art.TrueName</td>
                    <td>@art.MyCourse</td>
                    <td>@art.Address</td>  
                      <td>@art.Mobile</td>    
                    <td>@art.HomeTel</td>    
                    <td>@art.QQ</td>   
                      <td>@art.AddDate.ToShortDateString()</td>  
                    <td>@art.Mobile</td>                  
                  </tr>
                }
            </tbody>
          </table>

</div>

